package com.qidianit.mes.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author 泽华
 * @Description
 * @Time 2024-10-22 11:40
 */
@HeadRowHeight(25)//表头行高
@ContentRowHeight(20)//内容行高
@ColumnWidth(20)//列宽

public class Incoming {
    @ExcelProperty(value = "检验单编号",index = 0)
    private Long incomingId;
    @ExcelProperty(value = "来料检验单名称",index = 1)
    private String incomingName;
    @ExcelProperty(value = "供应商编码",index = 2)
    private String vendorId;
    @ExcelProperty(value = "供应商名称",index = 3)
    private String vendorName;
    @ExcelProperty(value = "供应商批次号",index = 4)
    private String vendorNumber;
    @ExcelProperty(value = "产品物料编码",index = 5)
    private String materialNumber;
    @ExcelProperty(value = "产品物料名称",index = 6)
    private String materialName;
    @ExcelProperty(value = "接收数量",index = 7)
    private Long receptionNumber;
    @ExcelProperty(value = "检测数量",index = 8)
    private Long testNumber;
    @ExcelProperty(value = "不合格数",index = 9)
    private Long unqualifiedNumber;
    @ExcelProperty(value = "检测结果",index = 10)
    private String incomingResult;
    @ExcelProperty(value = "来料日期",index = 11)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ExcelProperty(value = "检测日期",index = 12)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testTime;
    @ExcelProperty(value = "检测人员",index = 13)
    private String Inspectors;
    @ExcelIgnore
    private Integer incomingStatus;

    public Long getIncomingId() {
        return incomingId;
    }

    public void setIncomingId(Long incomingId) {
        this.incomingId = incomingId;
    }

    public String getIncomingName() {
        return incomingName;
    }

    public void setIncomingName(String incomingName) {
        this.incomingName = incomingName;
    }

    public String getVendorId() {
        return vendorId;
    }

    public void setVendorId(String vendorId) {
        this.vendorId = vendorId;
    }

    public String getVendorName() {
        return vendorName;
    }

    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }

    public String getVendorNumber() {
        return vendorNumber;
    }

    public void setVendorNumber(String vendorNumber) {
        this.vendorNumber = vendorNumber;
    }

    public String getMaterialNumber() {
        return materialNumber;
    }

    public void setMaterialNumber(String materialNumber) {
        this.materialNumber = materialNumber;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public Long getReceptionNumber() {
        return receptionNumber;
    }

    public void setReceptionNumber(Long receptionNumber) {
        this.receptionNumber = receptionNumber;
    }

    public Long getTestNumber() {
        return testNumber;
    }

    public void setTestNumber(Long testNumber) {
        this.testNumber = testNumber;
    }

    public Long getUnqualifiedNumber() {
        return unqualifiedNumber;
    }

    public void setUnqualifiedNumber(Long unqualifiedNumber) {
        this.unqualifiedNumber = unqualifiedNumber;
    }

    public String getIncomingResult() {
        return incomingResult;
    }

    public void setIncomingResult(String incomingResult) {
        this.incomingResult = incomingResult;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public String getInspectors() {
        return Inspectors;
    }

    public void setInspectors(String inspectors) {
        Inspectors = inspectors;
    }

    public Integer getIncomingStatus() {
        return incomingStatus;
    }

    public void setIncomingStatus(Integer incomingStatus) {
        this.incomingStatus = incomingStatus;
    }
}
